package cn.initcap.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import lombok.Data;

/**
 * @author initcap
 * @date 2018/6/9 PM2:52
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 4007886009520751242L;

    private Integer uid;

    private String username;

    private String password;

    private Set<Role> roles = new HashSet<>();

}
